package injections.example;

import injections.Provider;
import injections.annotations.Property;

/**
 * Created by rehak on 2/17/14.
 */
public class IntProvider implements Provider<Integer> {

    private final int myNum;

    public IntProvider(@Property int num) {
        this.myNum = num;
    }

    @Override
    public Integer getInstance() throws Exception {
        return myNum;
    }
}
